kdd3_dataset_list

for i_dataset = 1:length(all_dataset_names)
    
    dataset_name = all_dataset_names{i_dataset};
    variable_count = all_dataset_nlabels{i_dataset};
    
    n_fold = 10;
    for i_fold = 1:n_fold
        fid = fopen(['setting.static.', dataset_name, '_', num2str(i_fold), '.txt'], 'w');
        
        fprintf(fid, 'searcherChoice = SimAnneal\n');
        fprintf(fid, 'inputDirectory = .\n');
        fprintf(fid, 'observationsFile = data.%s_%d.txt\n', dataset_name, i_fold);
        fprintf(fid, 'outputDirectory = .\n');
        fprintf(fid, 'reportFile = report.static.%s_%d.txt\n', dataset_name, i_fold);
        fprintf(fid, 'variableCount = %d\n', variable_count);
        fprintf(fid, 'maxParentCount = 4\n');
        fprintf(fid, 'minMarkovLag = 0\n');
        fprintf(fid, 'maxMarkovLag = 0\n');
        fprintf(fid, 'equivalentSampleSize = 1.0\n');
        fprintf(fid, 'maxTime = %s\n', max_time);
        fprintf(fid, 'cycleCheckingMethod = dfs\n');
        fprintf(fid, '\n');
        
        fclose(fid);
    end
    
end
